<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆页面</title>
    <script>
        function changeVcode(obj) {
            obj.setAttribute("src","/stu/checkCode?time="+new Date().getTime());
        }
    </script>
</head>
<body>
    <form action="/login" method="post" autocomplete="off">
        用户名：<input type="text" name="username"><br/>
        密码：<input type="password" name="password" ><br/>
        验证码：<input type="text" name="checkCode"><img src="/stu/checkCode" onclick="changeVcode(this)"> <br/>
        <button type="submit">登陆</button>
    </form>
</body>
</html>